package homework;

public class Car {
    String brand;
    String color;
    double price;
    Car(){
    }
    Car(String brand,String color,double price){
        this.brand = brand;
        this.color = color;
        this.price = price;
    }
    void start(){
        System.out.println(price+"万元的"+color+brand+"启动了...");
    }
    void run(){
        System.out.println(price+"万元的"+color+brand+"跑起来了...");
    }
    void stop(){
        System.out.println(price+"万元的"+color+brand+"停下来了...");
    }
}
